<?xml version="1.0"?>
<LobSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:schemaLocation="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.XSD" Type="Database" Version="1.0.0.0" Name="AdventureWorksLOBSystem" xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
  <Properties>
    <Property Name="WildcardCharacter" Type="System.String">%</Property>
  </Properties>
  <LobSystemInstances>
    <LobSystemInstance Name="AdventureWorksInstance">
      <Properties>
        <Property Name="DatabaseAccessProvider" Type="System.String">SqlServer</Property>
        <Property Name="AuthenticationMode" Type="System.String">PassThrough</Property>
        <Property Name="RdbConnection Data Source" Type="System.String">YU</Property>
        <Property Name="RdbConnection Initial Catalog" Type="System.String">AdventureWorks</Property>
        <Property Name="RdbConnection Integrated Security" Type="System.String">SSPI</Property>
        <Property Name="RdbConnection Pooling" Type="System.String">false</Property>
      </Properties>
    </LobSystemInstance>
  </LobSystemInstances>
  <Entities>
    <Entity EstimatedInstanceCount="0" Name="Production.ProductSubcategory">
      <Properties>
        <Property Name="Title" Type="System.String">Name</Property>
      </Properties>
      <Identifiers>
        <Identifier TypeName="System.Int32" Name="[ProductSubcategoryID]" />
      </Identifiers>
      <Methods>
        <Method Name="GetProduction.[ProductSubcategory]">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductSubcategoryID],[ProductCategoryID],[Name],[rowguid],[ModifiedDate] From Production.[ProductSubcategory]</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="Return" Name="Production.[ProductSubcategory]">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[ProductSubcategory]DataReader">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[ProductSubcategory]DataRecord">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" IdentifierName="[ProductSubcategoryID]" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductCategoryID" />
                      <TypeDescriptor TypeName="System.String" Name="Name" />
                      <TypeDescriptor TypeName="System.String" Name="rowguid" />
                      <TypeDescriptor TypeName="System.String" Name="ModifiedDate" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[ProductSubcategory]Finder" Type="Finder" ReturnParameterName="Production.[ProductSubcategory]" ReturnTypeDescriptorName="Production.[ProductSubcategory]DataReader" ReturnTypeDescriptorLevel="0" />
          </MethodInstances>
        </Method>
        <Method Name="Production.[ProductSubcategory]SpecificFinder">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductSubcategoryID],[ProductCategoryID],[Name],[rowguid],[ModifiedDate] From Production.[ProductSubcategory] Where ([ProductSubcategoryID]=@ProductSubcategoryID)</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="In" Name="@ProductSubcategoryID">
              <TypeDescriptor TypeName="System.Int32" Name="[ProductSubcategoryID]" IdentifierName="[ProductSubcategoryID]" />
            </Parameter>
            <Parameter Direction="Return" Name="Production.[ProductSubcategory]">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[ProductSubcategory]DataReader">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[ProductSubcategory]DataRecord">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" IdentifierName="[ProductSubcategoryID]" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductCategoryID" />
                      <TypeDescriptor TypeName="System.String" Name="Name" />
                      <TypeDescriptor TypeName="System.String" Name="rowguid" />
                      <TypeDescriptor TypeName="System.String" Name="ModifiedDate" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[ProductSubcategory]SpecificFinder" Type="SpecificFinder" ReturnParameterName="Production.[ProductSubcategory]" ReturnTypeDescriptorName="Production.[ProductSubcategory]DataReader" ReturnTypeDescriptorLevel="0" />
          </MethodInstances>
        </Method>
        <Method Name="Production.[ProductSubcategory]IdEnumerator">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductSubcategoryID] From Production.[ProductSubcategory]</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="Return" Name="Production.[ProductSubcategory]IDs">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[ProductSubcategory]IDs">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[ProductSubcategory]">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" IdentifierName="[ProductSubcategoryID]" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[ProductSubcategory]EnumeratorInstance" Type="IdEnumerator" ReturnParameterName="Production.[ProductSubcategory]IDs" />
          </MethodInstances>
        </Method>
        <Method Name="insertProduction.ProductSubcategory">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Insert into Production.ProductSubcategory) Values);select SomethingToReturn = @@Identity</Property>
            <Property Name="RdbCommandType" Type="System.String">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="Return" Name="Production.ProductSubcategory">
              <TypeDescriptor TypeName="System.String" Name="SomethingToReturn" />
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.ProductSubcategoryInserter" Type="GenericInvoker" ReturnParameterName="Production.ProductSubcategory" />
          </MethodInstances>
        </Method>
        <Method Name="updateProduction.ProductSubcategory">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Update Production.ProductSubcategory SET [ProductCategoryID]=@ProductCategoryID,[Name]=@Name,[rowguid]=@rowguid,[ModifiedDate]=@ModifiedDate WHERE([ProductSubcategoryID]=@ProductSubcategoryID);select SomethingToReturn = @@Identity</Property>
            <Property Name="RdbCommandType" Type="System.String">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="In" Name="@ProductSubcategoryID">
              <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" />
            </Parameter>
            <Parameter Direction="In" Name="@ProductCategoryID">
              <TypeDescriptor TypeName="System.Int32" Name="ProductCategoryID" />
            </Parameter>
            <Parameter Direction="In" Name="@Name">
              <TypeDescriptor TypeName="System.String" Name="Name" />
            </Parameter>
            <Parameter Direction="In" Name="@rowguid">
              <TypeDescriptor TypeName="System.Guid" Name="rowguid" />
            </Parameter>
            <Parameter Direction="In" Name="@ModifiedDate">
              <TypeDescriptor TypeName="System.DateTime" Name="ModifiedDate" />
            </Parameter>
            <Parameter Direction="Return" Name="Production.ProductSubcategory">
              <TypeDescriptor TypeName="System.String" Name="SomethingToReturn" />
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.ProductSubcategoryUpdater" Type="GenericInvoker" ReturnParameterName="Production.ProductSubcategory" />
          </MethodInstances>
        </Method>
      </Methods>
      <Actions>
        <Action Name="Google Search" Position="1" IsOpenedInNewWindow="true" Url="http://www.google.com/search?q={0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="ProductSubcategoryID" Index="0" />
          </ActionParameters>
        </Action>
        <Action Name="MSN Search" Position="2" IsOpenedInNewWindow="true" Url="http://search.msn.co.uk/results.aspx?q={0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="ProductSubcategoryID" Index="0" />
          </ActionParameters>
        </Action>
        <Action Name="Email Action" Position="3" IsOpenedInNewWindow="true" Url="Mailto:{0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="ProductSubcategoryID" Index="0" />
          </ActionParameters>
        </Action>
      </Actions>
    </Entity>
    <Entity EstimatedInstanceCount="0" Name="Production.Product">
      <Identifiers>
        <Identifier TypeName="System.Int32" Name="[ProductID]" />
      </Identifiers>
      <Methods>
        <Method Name="GetProduction.[Product]">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductID],[Name],[ProductNumber],[MakeFlag],[FinishedGoodsFlag],[Color],[SafetyStockLevel],[ReorderPoint],[StandardCost],[ListPrice],[Size],[SizeUnitMeasureCode],[WeightUnitMeasureCode],[Weight],[DaysToManufacture],[ProductLine],[Class],[Style],[ProductSubcategoryID],[ProductModelID],[SellStartDate],[SellEndDate],[DiscontinuedDate],[rowguid],[ModifiedDate] From Production.[Product]</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="Return" Name="Production.[Product]">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[Product]DataReader">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[Product]DataRecord">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductID" IdentifierName="[ProductID]" />
                      <TypeDescriptor TypeName="System.String" Name="Name" />
                      <TypeDescriptor TypeName="System.String" Name="ProductNumber" />
                      <TypeDescriptor TypeName="System.Boolean" Name="MakeFlag" />
                      <TypeDescriptor TypeName="System.Boolean" Name="FinishedGoodsFlag" />
                      <TypeDescriptor TypeName="System.String" Name="Color" />
                      <TypeDescriptor TypeName="System.Int16" Name="SafetyStockLevel" />
                      <TypeDescriptor TypeName="System.Int16" Name="ReorderPoint" />
                      <TypeDescriptor TypeName="System.Decimal" Name="StandardCost" />
                      <TypeDescriptor TypeName="System.Decimal" Name="ListPrice" />
                      <TypeDescriptor TypeName="System.String" Name="Size" />
                      <TypeDescriptor TypeName="System.String" Name="SizeUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.String" Name="WeightUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.Decimal" Name="Weight" />
                      <TypeDescriptor TypeName="System.Int32" Name="DaysToManufacture" />
                      <TypeDescriptor TypeName="System.String" Name="ProductLine" />
                      <TypeDescriptor TypeName="System.String" Name="Class" />
                      <TypeDescriptor TypeName="System.String" Name="Style" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductModelID" />
                      <TypeDescriptor TypeName="System.String" Name="SellStartDate" />
                      <TypeDescriptor TypeName="System.String" Name="SellEndDate" />
                      <TypeDescriptor TypeName="System.String" Name="DiscontinuedDate" />
                      <TypeDescriptor TypeName="System.String" Name="rowguid" />
                      <TypeDescriptor TypeName="System.String" Name="ModifiedDate" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[Product]Finder" Type="Finder" ReturnParameterName="Production.[Product]" ReturnTypeDescriptorName="Production.[Product]DataReader" ReturnTypeDescriptorLevel="0" />
          </MethodInstances>
        </Method>
        <Method Name="Production.[Product]SpecificFinder">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductID],[Name],[ProductNumber],[MakeFlag],[FinishedGoodsFlag],[Color],[SafetyStockLevel],[ReorderPoint],[StandardCost],[ListPrice],[Size],[SizeUnitMeasureCode],[WeightUnitMeasureCode],[Weight],[DaysToManufacture],[ProductLine],[Class],[Style],[ProductSubcategoryID],[ProductModelID],[SellStartDate],[SellEndDate],[DiscontinuedDate],[rowguid],[ModifiedDate] From Production.[Product] Where ([ProductID]=@ProductID)</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="In" Name="@ProductID">
              <TypeDescriptor TypeName="System.Int32" Name="[ProductID]" IdentifierName="[ProductID]" />
            </Parameter>
            <Parameter Direction="Return" Name="Production.[Product]">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[Product]DataReader">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[Product]DataRecord">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductID" IdentifierName="[ProductID]" />
                      <TypeDescriptor TypeName="System.String" Name="Name" />
                      <TypeDescriptor TypeName="System.String" Name="ProductNumber" />
                      <TypeDescriptor TypeName="System.Boolean" Name="MakeFlag" />
                      <TypeDescriptor TypeName="System.Boolean" Name="FinishedGoodsFlag" />
                      <TypeDescriptor TypeName="System.String" Name="Color" />
                      <TypeDescriptor TypeName="System.Int16" Name="SafetyStockLevel" />
                      <TypeDescriptor TypeName="System.Int16" Name="ReorderPoint" />
                      <TypeDescriptor TypeName="System.Decimal" Name="StandardCost" />
                      <TypeDescriptor TypeName="System.Decimal" Name="ListPrice" />
                      <TypeDescriptor TypeName="System.String" Name="Size" />
                      <TypeDescriptor TypeName="System.String" Name="SizeUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.String" Name="WeightUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.Decimal" Name="Weight" />
                      <TypeDescriptor TypeName="System.Int32" Name="DaysToManufacture" />
                      <TypeDescriptor TypeName="System.String" Name="ProductLine" />
                      <TypeDescriptor TypeName="System.String" Name="Class" />
                      <TypeDescriptor TypeName="System.String" Name="Style" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductModelID" />
                      <TypeDescriptor TypeName="System.String" Name="SellStartDate" />
                      <TypeDescriptor TypeName="System.String" Name="SellEndDate" />
                      <TypeDescriptor TypeName="System.String" Name="DiscontinuedDate" />
                      <TypeDescriptor TypeName="System.String" Name="rowguid" />
                      <TypeDescriptor TypeName="System.String" Name="ModifiedDate" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[Product]SpecificFinder" Type="SpecificFinder" ReturnParameterName="Production.[Product]" ReturnTypeDescriptorName="Production.[Product]DataReader" ReturnTypeDescriptorLevel="0" />
          </MethodInstances>
        </Method>
        <Method Name="Production.[Product]IdEnumerator">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">Select [ProductID] From Production.[Product]</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="Return" Name="Production.[Product]IDs">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.[Product]IDs">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.[Product]">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductID" IdentifierName="[ProductID]" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
          <MethodInstances>
            <MethodInstance Name="Production.[Product]EnumeratorInstance" Type="IdEnumerator" ReturnParameterName="Production.[Product]IDs" />
          </MethodInstances>
        </Method>
        <Method Name="GetProduction.ProductForProduction.ProductSubcategory">
          <Properties>
            <Property Name="RdbCommandText" Type="System.String">SELECT Production.[Product].[ProductID],Production.[Product].[Name],Production.[Product].[ProductNumber],Production.[Product].[MakeFlag],Production.[Product].[FinishedGoodsFlag],Production.[Product].[Color],Production.[Product].[SafetyStockLevel],Production.[Product].[ReorderPoint],Production.[Product].[StandardCost],Production.[Product].[ListPrice],Production.[Product].[Size],Production.[Product].[SizeUnitMeasureCode],Production.[Product].[WeightUnitMeasureCode],Production.[Product].[Weight],Production.[Product].[DaysToManufacture],Production.[Product].[ProductLine],Production.[Product].[Class],Production.[Product].[Style],Production.[Product].[ProductSubcategoryID],Production.[Product].[ProductModelID],Production.[Product].[SellStartDate],Production.[Product].[SellEndDate],Production.[Product].[DiscontinuedDate],Production.[Product].[rowguid],Production.[Product].[ModifiedDate] FROM Production.[ProductSubcategory], Production.[Product] Where Production.[ProductSubcategory].[ProductSubcategoryID]=Production.[Product].[ProductSubcategoryID] and Production.[ProductSubcategory].[ProductSubcategoryID]=@ProductSubcategoryID</Property>
            <Property Name="RdbCommandType" Type="System.Data.CommandType">Text</Property>
          </Properties>
          <Parameters>
            <Parameter Direction="In" Name="@ProductSubcategoryID">
              <TypeDescriptor TypeName="System.Int32" Name="[ProductSubcategoryID]" IdentifierName="[ProductSubcategoryID]" IdentifierEntityName="Production.ProductSubcategory" />
            </Parameter>
            <Parameter Direction="Return" Name="Production.Product">
              <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Production.ProductDataReader">
                <TypeDescriptors>
                  <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="Production.ProductDataRecord">
                    <TypeDescriptors>
                      <TypeDescriptor TypeName="System.Int32" Name="ProductID" IdentifierName="[ProductID]" IdentifierEntityName="Production.Product" />
                      <TypeDescriptor TypeName="System.String" Name="Name" />
                      <TypeDescriptor TypeName="System.String" Name="ProductNumber" />
                      <TypeDescriptor TypeName="System.Boolean" Name="MakeFlag" />
                      <TypeDescriptor TypeName="System.Boolean" Name="FinishedGoodsFlag" />
                      <TypeDescriptor TypeName="System.String" Name="Color" />
                      <TypeDescriptor TypeName="System.Int16" Name="SafetyStockLevel" />
                      <TypeDescriptor TypeName="System.Int16" Name="ReorderPoint" />
                      <TypeDescriptor TypeName="System.Decimal" Name="StandardCost" />
                      <TypeDescriptor TypeName="System.Decimal" Name="ListPrice" />
                      <TypeDescriptor TypeName="System.String" Name="Size" />
                      <TypeDescriptor TypeName="System.String" Name="SizeUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.String" Name="WeightUnitMeasureCode" />
                      <TypeDescriptor TypeName="System.Decimal" Name="Weight" />
                      <TypeDescriptor TypeName="System.Int32" Name="DaysToManufacture" />
                      <TypeDescriptor TypeName="System.String" Name="ProductLine" />
                      <TypeDescriptor TypeName="System.String" Name="Class" />
                      <TypeDescriptor TypeName="System.String" Name="Style" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductSubcategoryID" IdentifierName="[ProductSubcategoryID]" IdentifierEntityName="Production.ProductSubcategory" />
                      <TypeDescriptor TypeName="System.Int32" Name="ProductModelID" />
                      <TypeDescriptor TypeName="System.String" Name="SellStartDate" />
                      <TypeDescriptor TypeName="System.String" Name="SellEndDate" />
                      <TypeDescriptor TypeName="System.String" Name="DiscontinuedDate" />
                      <TypeDescriptor TypeName="System.String" Name="rowguid" />
                      <TypeDescriptor TypeName="System.String" Name="ModifiedDate" />
                    </TypeDescriptors>
                  </TypeDescriptor>
                </TypeDescriptors>
              </TypeDescriptor>
            </Parameter>
          </Parameters>
        </Method>

		  <Method Name="updateProduct">
			  <Properties>
				  <Property Name="RdbCommandText" Type="System.String">Update Production.Product SET ReorderPoint=@ReorderPoint,SafetyStockLevel=@SafetyStockLevel,StandardCost=@StandardCost,ListPrice=@ListPrice WHERE(ProductID=@ProductID)</Property>
				  <Property Name="RdbCommandType" Type="System.String">Text</Property>
			  </Properties>
			  <Parameters>
				  <Parameter Direction="In" Name="@ProductID">
					  <TypeDescriptor TypeName="System.Int32" Name="ProductID" />
				  </Parameter>
				  <Parameter Direction="In" Name="@ReorderPoint">
					  <TypeDescriptor TypeName="System.Int16" Name="ReorderPoint" />
				  </Parameter>
				  <Parameter Direction="In" Name="@SafetyStockLevel">
					  <TypeDescriptor TypeName="System.Int16" Name="SafetyStockLevel" />
				  </Parameter>
				  <Parameter Direction="In" Name="@StandardCost">
					  <TypeDescriptor TypeName="System.Decimal" Name="StandardCost" />
				  </Parameter>
				  <Parameter Direction="In" Name="@ListPrice">
					  <TypeDescriptor TypeName="System.Decimal" Name="ListPrice" />
				  </Parameter>
				  <Parameter Direction="Return" Name="Product">
					  <TypeDescriptor TypeName="System.Int32" Name="ProductID" />
				  </Parameter>
			  </Parameters>
			  <MethodInstances>
				  <MethodInstance Name="ProductUpdater" Type="GenericInvoker" ReturnParameterName="Product" />
			  </MethodInstances>
		  </Method>

	</Methods>
      <Actions>
        <Action Name="MSN Search" Position="1" IsOpenedInNewWindow="true" Url="http://search.msn.co.uk/results.aspx?q={0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="Name" Index="0" />
          </ActionParameters>
        </Action>
        <Action Name="Google Search" Position="2" IsOpenedInNewWindow="true" Url="http://www.google.com/search?q={0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="Name" Index="0" />
          </ActionParameters>
        </Action>
        <Action Name="Email Action" Position="3" IsOpenedInNewWindow="true" Url="Mailto:{0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="Name" Index="0" />
          </ActionParameters>
        </Action>
        <Action Name="Edit Product" Position="4" IsOpenedInNewWindow="true" Url="pages/updateproduct.aspx?id={0}" ImageUrl="">
          <ActionParameters>
            <ActionParameter Name="ProductID" Index="0" />
          </ActionParameters>
        </Action>
      </Actions>
    </Entity>
  </Entities>
  <Associations>
    <Association AssociationMethodEntityName="Production.Product" AssociationMethodName="GetProduction.ProductForProduction.ProductSubcategory" AssociationMethodReturnParameterName="Production.Product" Name="Production.ProductSubcategoryToProduction.Product" IsCached="true">
      <SourceEntity Name="Production.ProductSubcategory" />
      <DestinationEntity Name="Production.Product" />
    </Association>
  </Associations>
</LobSystem>